package dao

import (
	"apitestAfterGo/common"
	"github.com/streadway/amqp"
)

var RabbitMqDao *amqp.Connection

func RabbitMqInit() *amqp.Connection {
	RabbitMqDao, _ = amqp.Dial(common.RabbitMqUrl)
	return RabbitMqDao
}
